package com.ruoyi.system.service;

import com.ruoyi.common.core.web.page.TableDataInfo;
import com.ruoyi.system.domain.RedisDataInfo;

public interface ISysRedisKeyService {
    public TableDataInfo getKeyList(RedisDataInfo redisDataInfo, String pattern, String sort,
                                    Integer pageNum, Integer pageSize);

    public void getKeyInfo(RedisDataInfo redisDataInfo);

    public boolean addKey(RedisDataInfo redisDataInfo);

    public void deleteKey(RedisDataInfo redisDataInfo);

    public Long deleteAllKey(RedisDataInfo redisDataInfo);

    public Long deleteKeys(RedisDataInfo redisDataInfo, String pattern);

    public boolean renameKey(RedisDataInfo redisDataInfo, String oldKey, String newKey);
}
